var http = require('http');
http.createServer(function(req,res){
	res.writeHead(200,{'Content-Type':'text/html'});
	res.write('<h1>Node.js</h1>');
	res.end('<p1>hello world</p1>');
}).listen(8000);
console.log("http server is listening at 3000");